package com.mall.db.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_Search_history")
public class SearchHistory extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 搜索Id
     * */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户Id
     * */
    private Integer userId;
    /**
     * 关键字
     * */
    private String keyword;
    /**
    * 添加时间
    * */
    private Date addTime;
}
